package jxc.base.helper;

public class IdGenerator {
	
	public static String getGoodsId(){
		return "GD"+TimeGenerator.getTimeString(12).substring(2)+Sequence.getNextInString(3);
	}
	
	public static String getProviderId(){
		return TimeGenerator.getTimeString(10).substring(2)+Sequence.getNextInString(2);
	}

	public static String getCustomerId() {
		return TimeGenerator.getTimeString(10).substring(2)+Sequence.getNextInString(2);
	}
	
	public static String getSaleId(){
		return "SL"+TimeGenerator.getTimeString(12)+Sequence.getNextInString(6);
	}
}
